package com.ukefu.util.task.process;

import com.ukefu.webim.service.repository.TopicRepository;
import com.ukefu.webim.web.model.Topic;

public class TopicProcess implements JPAProcess{
	
	private TopicRepository topicRes ;
	
	public TopicProcess(TopicRepository topicRes){
		this.topicRes = topicRes ;
	}

	@Override
	public void process(Object data) {
		 topicRes.save((Topic)data) ;
	}

}
